package com.neu.dao;

import java.util.ArrayList;

import com.neu.pojo.Worker;

public interface IworkerDao {

	//添加工人
	boolean add(Worker worker);

	//搜索工人
	Worker search(Worker worker);

	//更新工人
	boolean cover(Worker worker);

	//得到所有工人
	ArrayList<Worker> list();

	//删除工人
	boolean delete(Worker w);

}